package yl.hs.bmipfull.pojo.material;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;

/**
 * 作用:  采购合同产品明细信息实体类<br/>
 * 创建时间: 2021年06月03日 15时38分01秒 <br/>
 *
 * @author 张凯
 */
@DBTable(disName = "采购合同产品明细信息", mapCode = "purchase_contract_product")
public class PurchaseContractProductEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "采购合同产品明细信息编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "")
    private String sn;
    /**
     * 合同编号
     */
    private String contractSn;
    /**
     * 产品编号
     */
    private String rmSN;
    /**
     * 产品类别
     */
    private String rmCate;
    /**
     * 产品名称
     */
    private String rmName;
    /**
     * 产品规格
     */
    private String rmSpec;
    /**
     * 产品产地
     */
    private String brand;
    /**
     * 价格
     */
    private float price;
    /**
     * 折方系数
     */
    private float density;
    private int state;
    /**
     * 计划量
     */
    private BigDecimal quantity;

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getContractSn() {
        return this.contractSn;
    }

    public void setContractSn(String contractSn) {
        this.contractSn = contractSn;
    }

    public String getRmSN() {
        return this.rmSN;
    }

    public void setRmSN(String rmSN) {
        this.rmSN = rmSN;
    }

    public String getRmCate() {
        return this.rmCate;
    }

    public void setRmCate(String rmCate) {
        this.rmCate = rmCate;
    }

    public String getRmName() {
        return this.rmName;
    }

    public void setRmName(String rmName) {
        this.rmName = rmName;
    }

    public String getRmSpec() {
        return this.rmSpec;
    }

    public void setRmSpec(String rmSpec) {
        this.rmSpec = rmSpec;
    }

    public String getBrand() {
        return this.brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public float getPrice() {
        return this.price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public float getDensity() {
        return this.density;
    }

    public void setDensity(float density) {
        this.density = density;
    }


}